Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Working With Channel Characteristics


SGGetChannelTimeScale

The SGGetChannelTimeScale function allows you to retrieve a channel's time scale.

pascal ComponentResult SGGetChannelTimeScale (SGChannel c, 
                                              TimeScale *scale);
c
Identifies the channel for this operation. You provide your
connection identifier. You connect to a channel component by calling the SGNewChannel or SGNewChannelFromComponent function; these functions are described on page 5-29 and page 5-30, respectively.
scale
Contains a pointer to a time scale structure. The channel component places information about its time scale into this structure.
DESCRIPTION
The time scale you obtain by calling the SGGetChannelTimeScale typically corresponds to the time scale of the media that has been created by the channel. You can use this time scale in your data function, which you assign with the SGSetDataProc function (discussed on page 5-32).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help